package com.fhb.demo.myapp.youmeng.ui.cosum;

import android.content.Context;

import com.umeng.message.UmengNotificationClickHandler;
import com.umeng.message.common.UmLog;
import com.umeng.message.entity.UMessage;

/**
 * Created by Administrator on 2018/6/2.
 */

public class NotificationClickHandler extends UmengNotificationClickHandler {
    private static final String TAG = NotificationClickHandler.class.getName();
    @Override
    public void dismissNotification(Context context, UMessage uMessage) {
        UmLog.d(TAG, "dismissNotification=="+uMessage.title);
        super.dismissNotification(context, uMessage);
    }

    @Override
    public void launchApp(Context context, UMessage uMessage) {
        UmLog.d(TAG, "launchApp=="+uMessage.title);
        super.launchApp(context, uMessage);
    }

    @Override
    public void openActivity(Context context, UMessage uMessage) {
        UmLog.d(TAG, "openActivity=="+uMessage.title);
        super.openActivity(context, uMessage);

    }

    @Override
    public void openUrl(Context context, UMessage uMessage) {
        UmLog.d(TAG, "openUrl=="+uMessage.title);
        super.openUrl(context, uMessage);
    }

    @Override
    public void dealWithCustomAction(Context context, UMessage uMessage) {
        UmLog.d(TAG, "dealWithCustomAction=="+uMessage.title);
        super.dealWithCustomAction(context, uMessage);
    }

    @Override
    public void autoUpdate(Context context, UMessage uMessage) {
        UmLog.d(TAG, "autoUpdate=="+uMessage.title);
        super.autoUpdate(context, uMessage);
    }
}
